<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/5/14 0014
  Time: 20:40
  To change this template use File | Settings | File Templates.
--%>
<%@ include file="/WEB-INF/views/include/header.jsp"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>添加宣传信息</legend>
</fieldset>
<form class="layui-form" >
    <div class="layui-form-item">
        <label class="layui-form-label">名称</label>
        <div class="layui-input-block">
            <input id="propagandaname" type="text" name="propagandaname" required  lay-verify="required" placeholder="请输入名称" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">宣传类别</label>
        <div class="layui-input-block">
            <select name="type" lay-verify="required" >
                <option value="">请选择一个</option>
                <option value="1" selected="">友情链接</option>
                <option value="0">轮播图</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">链接地址</label>
        <div class="layui-input-block">
            <input id="propagandaurl" type="text" name="propagandaurl" required  lay-verify="required" placeholder="请输入链接" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">轮播图</label>
        <div class="layui-input-block">
            <input id="propagandaphoto" type="text" name="propagandaphoto" placeholder="请输入图片路径" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="addsubmit">添加</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
